.container{
	width: 100vw;
	height: 100vh;
	background-image: linear-gradient(#F3623F, #F74222);
}

.head-wrap{
	position: relative;
	
	image{
		width: 100%;
		margin: 0 auto;
		display: block;
	}
	
	.rule-mark{
		position: absolute;
		right: 0;
		top: 60rpx;
		background-color: #FFE854;
		color: #FF7908;
		height: 60rpx;
		line-height: 60rpx;
		padding: 0 30rpx;
		border-top-left-radius: 60rpx;
		border-bottom-left-radius: 60rpx;
	}
}

.status-wrap{
	transform: translateY(-340rpx);
	text-align: center;
	
	.mark{
		display: inline-block;
		line-height: 1;
		padding: 16rpx 40rpx;
		background-color: #FFE854;
		color: #FF7908;
		border-radius: 28rpx;
	}
	.mark.active{
		font-size: 24rpx;
		background-color: #D17E1F;
		color: #fff;
		margin-top: $margin-updown;
		padding: 10rpx 20rpx;
		border-radius: 10rpx;
		.num{
			font-size: 24rpx;
		}
	}
	.num{
		font-size: 32rpx;
		margin: 0 4rpx;
		display: inline-block;
	}
}

.eggs-wrap{
	display: flex;
	width: 90%;
	margin: 0 auto;
	transform: translateY(-300rpx);
	
	.box{
		flex: 1;
		text-align: center;
		
		image{
			width: 90%;
		}
	}
}

.operation-text{
	margin: 0 50rpx;
	display: flex;
	transform: translateY(-300rpx);
	margin: 60rpx 50rpx 0 50rpx;
	
	& > view {
		flex: 1;
		line-height: 1;
	}
	
	.point{
		color: #FEE331;
	}
	
	.record{
		color: #fff;
		text-align: right;
	}
}

.record-wrap{
	transform: translateY(-300rpx);
	margin: 80rpx 50rpx 30rpx 50rpx;
	border-radius: 10rpx;
	background-color: #FF6E43;
	padding: 12rpx;
	box-shadow: 0 0.45em 0 rgba(217,42,0,1);
	position: relative;
	height: 430rpx;
	
	.body-shade{
		width: calc(100% - 24rpx);
		height: 60rpx;
		top: 12rpx;
		left: 12rpx;
		background-color: #DA2B00;
		z-index: 5;
		position: absolute;
		z-index: 2;
		border-radius: 8rpx;
	}
	
	.head{
		border: 6rpx solid #FF6E43;
		box-shadow: inset 0 0 10rpx 0 #D92A00, 0 0.45em 0 rgba(217,42,0,1);
		background-color: #DA2B00;
		position: absolute;
		z-index: 5;
		text-align: center;
		width: 300rpx;
		height: 70rpx;
		line-height: 70rpx;
		border-radius: 70rpx;
		top: 0;
		left: 50%;
		transform: translate(-50%, -50%);
		color: #fff;
		font-weight: 600;
		letter-spacing: 4rpx;
	}
	
	.body{
		background-color: #DA2B00;
		border-radius: 8rpx;
		height: 340rpx;
		box-shadow: inset 0 0 10rpx 0 #D92A00;
		padding: 60rpx 30rpx 30rpx 30rpx;
		overflow: hidden;
		
		.wrap {
			& > view{
				display: flex;
			}
			
			&.animate{
				transition: all 1s ease-in-out;
				transform: translateY(-60rpx);
			}
		}
		
		.tit{
			line-height: 60rpx;
			width: 220rpx;
			color: #fff;
		}
		
		.txt{
			line-height: 60rpx;
			flex: 1;
			color: #FEE331;
		}
	}
}

.transition-popup{
	.wrap{
		position: relative;
		padding: 0 100rpx;
		
		.eggs{
			width: 380rpx;
		}
		
		.hammer{
			position: absolute;
			width: 80rpx;
			top: -60rpx;
			right: 60rpx;
			transform-origin: bottom right;
			transform: rotate(-45deg);
			animation: chuizi 1.1s ease 3;
		}
	}
	
}

.result-wrap{
	position: relative;
	
	.bg-img{
		width: 80vw;
	}
	
	.content-wrap{
		position: absolute;
		z-index: 5;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		text-align: center;
		
		.look{
			margin: 70rpx auto 0 auto;
			display: block;
			width: 120rpx;
		}
		
		.msg{
			margin: 10rpx auto 0 auto;
			padding: 0 20rpx;
			color: #DA2B00;
			width: 70%;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}
		
		.btn{
			width: 50%;
			height: 70rpx;
			line-height: 70rpx;
			border-radius: 70rpx;
			text-align: center;
			color: #DA2B00;
			background: linear-gradient(#FFE1AC, #FEC965);
			margin: 100rpx auto 0 auto;
		}
		
		.iconroundclose{
			position: absolute;
			color: #fff;
			font-size: 48rpx;
			top: -90rpx;
			right: 40rpx;
		}
	}
	
	.yes{
		.look{
			width: 80rpx;
			height: 80rpx;
			margin-top: 30px;
		}
		
		.btn{
			margin-top: 160rpx;
		}
	}
}

.rule-wrap{
	border-radius: 10rpx;
	background-color: #FFD697;
	width: 80vw;
	padding: 12rpx;
	box-sizing: border-box;
	
	.content-wrap{
		background-color: #FFF2DD;
		width: 100%;
		border-radius: 8rpx;
		position: relative;
		
		.rule-head{
			width: 100%;
			position: absolute;
			transform: translateY(-50%);
			left: 0;
			top: 0;
		}
		
		.rule{
			height: 560rpx;
			padding: 80rpx 30rpx 0 30rpx;
			box-sizing: border-box;
			
			.tit{
				font-weight: 600;
				color: #DA2B00;
			}
			.text{
				font-size: 24rpx;
				color: #DA2B00;
			}
		}
		
		.iconroundclose{
			color: #fff;
			text-align: center;
			position: absolute;
			bottom: -150rpx;
			left: 50%;
			transform: translateX(-50%);
			font-size: 70rpx;
		}
	}
}

@keyframes chuizi {
	0% {
		-moz-transform: rotate(-45);
		-ms-transform: rotate(-45);
		-webkit-transform: rotate(-45);
		transform: rotate(-45deg);
	}
	30% {
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-moz-transform: rotate(-45);
		-ms-transform: rotate(-45);
		-webkit-transform: rotate(-45);
		transform: rotate(-45);
	}
}